<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>蚁启科技 - 专业软件开发解决方案</title>

    <!-- 核心依赖 -->
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    />
    <style>
      /* 修改滚动容器设置 */
      html {
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;
      }
      section {
        scroll-snap-align: start;
        scroll-margin-top: 60px;
        min-height: 100vh;
        position: relative; /* 替代 sticky 定位 */
      }
      /* 禁用内部滚动条 */
      section::-webkit-scrollbar {
        display: none;
      }
      /* 特别处理联系区块 */
      #contact {
        scroll-margin-top: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
      }
      /* 页脚定位 */
      .footer-container {
        margin-top: auto;
        padding-top: 80px;
      }
      /* 导航激活状态 */
      nav a.active {
        color: #3b82f6;
        position: relative;
      }

      nav a.active::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        animation: navUnderline 0.3s ease-out;
      }

      @keyframes navUnderline {
        from {
          width: 0;
        }
        to {
          width: 100%;
        }
      }

      /* 滚动条美化 */
      ::-webkit-scrollbar {
        width: 8px;
      }

      ::-webkit-scrollbar-track {
        background: #1e293b;
      }

      ::-webkit-scrollbar-thumb {
        background: #2f5199;
        border-radius: 4px;
      }
    </style>
  </head>

  <body class="bg-slate-900 text-gray-100">
    <!-- 动态导航栏 -->
    <nav
      class="fixed w-full backdrop-blur-lg bg-slate-900/80 z-50 transition-all duration-300"
      data-aos="fade-down"
    >
      <div
        class="container mx-auto px-6 py-4 flex justify-between items-center"
      >
        <div class="flex items-center space-x-3 cursor-pointer" id="logo">
          <div class="w-10 h-10 bg-blue-500 rounded-lg animate-pulse"></div>
          <span
            class="text-2xl font-bold bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent"
          >
            蚁启科技
          </span>
        </div>
        <div class="hidden md:flex space-x-8">
          <a href="#services" class="hover:text-blue-400 transition-colors"
            >核心服务</a
          >
          <a
            href="#standardProcess"
            class="hover:text-blue-400 transition-colors"
            >标准化流程</a
          >
          <a href="#cases" class="hover:text-blue-400 transition-colors"
            >成功案例</a
          >
          <a href="#contact" class="hover:text-blue-400 transition-colors"
            >联系我们</a
          >
        </div>
      </div>
    </nav>

    <!-- Hero 区域 -->
    <section
      id="home"
      class="min-h-screen flex items-center relative overflow-hidden"
    >
      <div class="container mx-auto px-6 py-20 text-center" data-aos="zoom-in">
        <h1 class="text-5xl md:text-7xl font-bold mb-6">
          <span
            class="bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent"
          >
            代码重构世界
          </span>
        </h1>
        <p class="text-xl md:text-2xl text-gray-400 mb-12">
          企业级软件开发与数字化转型专家
        </p>
        <div class="flex justify-center space-x-6">
          <button
            class="px-8 py-3 bg-blue-600 hover:bg-blue-700 rounded-full transform transition-all hover:scale-105"
          >
            立即咨询
          </button>
        </div>

        <!-- 动态科技粒子背景 -->
        <div class="absolute inset-0 -z-10 opacity-20">
          <div
            class="absolute w-32 h-32 bg-blue-400 rounded-full blur-3xl animate-pulse"
          ></div>
          <div
            class="absolute right-0 top-1/3 w-48 h-48 bg-purple-400 rounded-full blur-3xl animate-pulse delay-100"
          ></div>
        </div>
      </div>
    </section>

    <!-- 服务展示 -->
    <section id="services" class="py-20 bg-slate-800/50 backdrop-blur-xl">
      <div class="container mx-auto px-6">
        <h2 class="text-3xl font-bold mb-16 text-center" data-aos="fade-up">
          核心服务
        </h2>
        <div class="grid md:grid-cols-3 gap-8">
          <div
            class="p-8 bg-slate-700/30 rounded-xl hover:bg-slate-700/50 transition-all"
            data-aos="fade-up"
            data-aos-delay="100"
          >
            <div
              class="w-16 h-16 mb-6 bg-blue-500/20 rounded-xl flex items-center justify-center"
            >
              <i class="fas fa-layer-group text-3xl text-blue-400"></i>
            </div>
            <h3 class="text-xl font-bold mb-4">全栈开发</h3>
            <p class="text-gray-400 mb-4">
              React/Next.js +
              Node.js技术体系，支持微服务架构设计与Serverless部署
            </p>
            <div class="flex flex-wrap gap-2">
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >TypeScript</span
              >
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >NestJS</span
              >
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >GraphQL</span
              >
            </div>
          </div>
          <!-- 新增AI解决方案 -->
          <div
            class="p-8 bg-slate-700/30 rounded-xl hover:bg-slate-700/50 transition-all"
            data-aos="fade-up"
            data-aos-delay="200"
          >
            <div
              class="w-16 h-16 mb-6 bg-purple-500/20 rounded-xl flex items-center justify-center"
            >
              <i class="fas fa-robot text-3xl text-purple-400"></i>
            </div>
            <h3 class="text-xl font-bold mb-4">智能解决方案</h3>
            <p class="text-gray-400 mb-4">
              基于TensorFlow/PyTorch的AI模型开发，支持计算机视觉与自然语言处理
            </p>
            <div class="flex flex-wrap gap-2">
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >MLOps</span
              >
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >OpenCV</span
              >
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >LangChain</span
              >
            </div>
          </div>
          <!-- 新增云端部署 -->
          <div
            class="p-8 bg-slate-700/30 rounded-xl hover:bg-slate-700/50 transition-all"
            data-aos="fade-up"
            data-aos-delay="300"
          >
            <div
              class="w-16 h-16 mb-6 bg-green-500/20 rounded-xl flex items-center justify-center"
            >
              <i class="fas fa-cloud text-3xl text-green-400"></i>
            </div>
            <h3 class="text-xl font-bold mb-4">云原生架构</h3>
            <p class="text-gray-400 mb-4">
              Kubernetes+Docker容器化部署，支持AWS/Azure多云环境管理
            </p>
            <div class="flex flex-wrap gap-2">
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >Istio</span
              >
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >Prometheus</span
              >
              <span class="px-3 py-1 bg-slate-600/50 rounded-full text-sm"
                >Terraform</span
              >
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 开发流程 -->
    <section id="standardProcess" class="py-20 bg-slate-900">
      <div class="container mx-auto px-6">
        <h2 class="text-3xl font-bold mb-16 text-center" data-aos="fade-up">
          标准化流程
        </h2>
        <div class="grid md:grid-cols-5 gap-6">
          <div class="p-6 bg-slate-800 rounded-lg group" data-aos="flip-up">
            <div class="text-blue-400 text-2xl mb-4 relative">
              <div
                class="absolute -left-2 w-8 h-8 bg-blue-500/20 rounded-full"
              ></div>
              1
            </div>
            <h3 class="text-lg font-bold mb-2">需求工程</h3>
            <p class="text-sm text-gray-400">用户故事地图构建与业务建模</p>
            <div class="mt-4 hidden group-hover:block transition-all">
              <p class="text-xs text-blue-400">平均耗时：2-4周</p>
            </div>
          </div>
          <div
            class="p-6 bg-slate-800 rounded-lg group"
            data-aos="flip-up"
            data-aos-delay="100"
          >
            <div class="text-purple-400 text-2xl mb-4 relative">
              <div
                class="absolute -left-2 w-8 h-8 bg-purple-500/20 rounded-full"
              ></div>
              2
            </div>
            <h3 class="text-lg font-bold mb-2">原型设计</h3>
            <p class="text-sm text-gray-400">Figma交互原型与设计系统构建</p>
          </div>
          <div
            class="p-6 bg-slate-800 rounded-lg group"
            data-aos="flip-up"
            data-aos-delay="200"
          >
            <div class="text-green-400 text-2xl mb-4 relative">
              <div
                class="absolute -left-2 w-8 h-8 bg-green-500/20 rounded-full"
              ></div>
              3
            </div>
            <h3 class="text-lg font-bold mb-2">敏捷开发</h3>
            <p class="text-sm text-gray-400">Scrum管理+CI/CD自动化流水线</p>
          </div>
          <div
            class="p-6 bg-slate-800 rounded-lg group"
            data-aos="flip-up"
            data-aos-delay="300"
          >
            <div class="text-yellow-400 text-2xl mb-4 relative">
              <div
                class="absolute -left-2 w-8 h-8 bg-yellow-500/20 rounded-full"
              ></div>
              4
            </div>
            <h3 class="text-lg font-bold mb-2">质量保障</h3>
            <p class="text-sm text-gray-400">自动化测试覆盖率>85%</p>
          </div>
          <div
            class="p-6 bg-slate-800 rounded-lg group"
            data-aos="flip-up"
            data-aos-delay="400"
          >
            <div class="text-pink-400 text-2xl mb-4 relative">
              <div
                class="absolute -left-2 w-8 h-8 bg-pink-500/20 rounded-full"
              ></div>
              5
            </div>
            <h3 class="text-lg font-bold mb-2">持续运维</h3>
            <p class="text-sm text-gray-400">7×24小时SLA服务保障</p>
          </div>
        </div>
      </div>
    </section>

    <!-- 成功案例 -->
    <section id="cases" class="py-20 bg-slate-800/50">
      <div class="container mx-auto px-6">
        <h2 class="text-3xl font-bold mb-16 text-center" data-aos="fade-up">
          成功案例
        </h2>
        <div class="grid md:grid-cols-3 gap-8">
          <div
            class="relative overflow-hidden rounded-2xl group"
            data-aos="zoom-in"
          >
            <img
              src="https://picsum.photos/600/400?random=1"
              class="w-full h-64 object-cover transition-transform duration-300 group-hover:scale-105"
            />
            <div
              class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent p-6 flex flex-col justify-end"
            >
              <h3 class="text-xl font-bold mb-2">智慧医疗平台</h3>
              <div class="flex flex-wrap gap-2 mb-3">
                <span
                  class="px-2 py-1 bg-blue-500/20 text-blue-400 rounded-full text-xs"
                  >Spring Cloud</span
                >
                <span
                  class="px-2 py-1 bg-purple-500/20 text-purple-400 rounded-full text-xs"
                  >OCR识别</span
                >
              </div>
              <p class="text-sm text-gray-300">
                日处理问诊数据50万+，准确率99.2%
              </p>
            </div>
          </div>
          <div
            class="relative overflow-hidden rounded-2xl group"
            data-aos="zoom-in"
            data-aos-delay="100"
          >
            <img
              src="https://picsum.photos/600/400?random=2"
              class="w-full h-64 object-cover transition-transform duration-300 group-hover:scale-105"
            />
            <div
              class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent p-6 flex flex-col justify-end"
            >
              <h3 class="text-xl font-bold mb-2">工业物联网系统</h3>
              <div class="flex flex-wrap gap-2 mb-3">
                <span
                  class="px-2 py-1 bg-green-500/20 text-green-400 rounded-full text-xs"
                  >MQTT</span
                >
                <span
                  class="px-2 py-1 bg-yellow-500/20 text-yellow-400 rounded-full text-xs"
                  >TensorRT</span
                >
              </div>
              <p class="text-sm text-gray-300">
                连接10万+设备，预测性维护准确率提升40%
              </p>
            </div>
          </div>
          <div
            class="relative overflow-hidden rounded-2xl group"
            data-aos="zoom-in"
            data-aos-delay="100"
          >
            <img
              src="https://picsum.photos/600/400?random=3"
              class="w-full h-64 object-cover transition-transform duration-300 group-hover:scale-105"
            />
            <div
              class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent p-6 flex flex-col justify-end"
            >
              <h3 class="text-xl font-bold mb-2">工业物联网系统</h3>
              <div class="flex flex-wrap gap-2 mb-3">
                <span
                  class="px-2 py-1 bg-green-500/20 text-green-400 rounded-full text-xs"
                  >MQTT</span
                >
                <span
                  class="px-2 py-1 bg-yellow-500/20 text-yellow-400 rounded-full text-xs"
                  >TensorRT</span
                >
              </div>
              <p class="text-sm text-gray-300">
                连接10万+设备，预测性维护准确率提升40%
              </p>
            </div>
          </div>
          <!-- 更多案例... -->
        </div>
      </div>
    </section>

    <!-- 联系方式 -->
    <section id="contact" class="py-20 bg-slate-900 relative overflow-hidden">
      <div class="container mx-auto px-6 max-w-4xl flex-1">
        <div class="grid md:grid-cols-2 gap-12" data-aos="fade-up">
          <div class="space-y-6">
            <h2 class="text-3xl font-bold mb-6">即刻联系</h2>
            <div class="flex items-center space-x-4">
              <div
                class="w-12 h-12 bg-blue-500/20 rounded-lg flex items-center justify-center"
              >
                <i class="fas fa-phone-alt text-blue-400"></i>
              </div>
              <div>
                <p class="text-gray-400">咨询热线</p>
                <p class="text-xl font-mono">010-8888 6666</p>
              </div>
            </div>
            <div class="flex items-center space-x-4">
              <div
                class="w-12 h-12 bg-purple-500/20 rounded-lg flex items-center justify-center"
              >
                <i class="fas fa-envelope text-purple-400"></i>
              </div>
              <div>
                <p class="text-gray-400">项目咨询</p>
                <p class="text-xl font-mono">contact@anttech.com</p>
              </div>
            </div>
            <div class="mt-8">
              <h3 class="text-lg font-bold mb-4">全球研发中心</h3>
              <div class="flex space-x-6">
                <div class="flex-1">
                  <p class="text-gray-400">北京总部</p>
                  <p>北京市海淀区科技园路1号</p>
                </div>
                <!-- <div class="flex-1">
                  <p class="text-gray-400">深圳分部</p>
                  <p>深圳市南山区科技南十二路</p>
                </div> -->
              </div>
            </div>
          </div>
          <div class="border-l border-slate-700 pl-12">
            <h3 class="text-lg font-bold mb-6">商务合作</h3>
            <div class="space-y-4">
              <div class="flex items-center space-x-3">
                <i class="fab fa-weixin text-green-400"></i>
                <span class="font-mono">AntTech_BD</span>
              </div>
              <div class="flex items-center space-x-3">
                <i class="fab fa-linkedin text-blue-400"></i>
                <span>LinkedIn/AntTech</span>
              </div>
            </div>
            <div class="mt-8">
              <h3 class="text-lg font-bold mb-4">服务时间</h3>
              <div class="space-y-2">
                <p>工作日 09:00 - 18:00</p>
                <p class="text-sm text-gray-400">紧急支持：7×24小时响应</p>
              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- 融合后的页脚 -->
      <div class="footer-container container mx-auto px-6 max-w-4xl">
        <div class="mt-16 pt-8 border-t border-slate-700" data-aos="fade-up">
          <div class="grid md:grid-cols-3 gap-8 text-gray-400">
            <div>
              <h4 class="text-sm font-bold mb-4">快速导航</h4>
              <ul class="space-y-2">
                <li>
                  <a
                    href="#services"
                    class="hover:text-blue-400 transition-colors"
                    >解决方案</a
                  >
                </li>
                <li>
                  <a href="#cases" class="hover:text-blue-400 transition-colors"
                    >成功案例</a
                  >
                </li>
              </ul>
            </div>
            <div>
              <h4 class="text-sm font-bold mb-4">法律声明</h4>
              <ul class="space-y-2">
                <li><a href="#" class="hover:text-blue-400">隐私政策</a></li>
                <li><a href="#" class="hover:text-blue-400">服务条款</a></li>
              </ul>
            </div>
            <div class="md:text-right">
              <p class="text-sm">© 2025 蚁启科技</p>
              <p class="text-xs mt-2">京ICP备12345678号</p>
              <div class="mt-4 flex md:justify-end space-x-4">
                <a href="#"><i class="fab fa-weibo hover:text-red-400"></i></a>
                <a href="#"><i class="fab fa-zhihu hover:text-blue-500"></i></a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 初始化脚本 -->
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script>
      AOS.init({
        duration: 800,
        once: true,
        easing: "ease-out-quad",
      });
      // 增强导航联动
      const sections = document.querySelectorAll("section");
      const navLinks = document.querySelectorAll("nav a");

      // 更精准的观察器配置
      const observer = new IntersectionObserver(
        (entries) => {
          entries.forEach((entry) => {
            if (entry.isIntersecting && entry.intersectionRatio >= 0.5) {
              const id = entry.target.id;
              history.replaceState(null, null, `#${id}`);
              navLinks.forEach((link) => {
                link.classList.toggle(
                  "active",
                  link.getAttribute("href") === `#${id}`
                );
              });
            }
          });
        },
        {
          threshold: [0.2, 0.5, 0.8],
          rootMargin: "0px 0px -50% 0px",
        }
      );

      sections.forEach((section) => observer.observe(section));

      // 平滑滚动处理
      navLinks.forEach((link) => {
        link.addEventListener("click", (e) => {
          e.preventDefault();
          const target = document.querySelector(link.hash);
          if (target) {
            target.scrollIntoView({
              behavior: "smooth",
              block: "start",
            });
          }
        });
      });

      // 事件监听优化
      window.addEventListener(
        "wheel",
        (e) => scrollController.handleScroll(e),
        {
          passive: false,
          capture: true,
        }
      );
      // 点击导航增强
      navLinks.forEach((link) => {
        link.addEventListener("click", (e) => {
          e.preventDefault();
          const target = document.querySelector(link.getAttribute("href"));
          target.scrollIntoView({ behavior: "smooth" });
          activateLink(link);
        });
      });
      // 优化移动端触摸体验
      let touchStartY = 0;
      window.addEventListener(
        "touchstart",
        (e) => {
          touchStartY = e.touches[0].clientY;
        },
        { passive: true }
      );
      document.getElementById("logo").addEventListener("click", function (e) {
        e.preventDefault();
        const homeSection = document.getElementById("home");
        homeSection.scrollIntoView({
          behavior: "smooth",
          block: "start",
        });
      });
      window.addEventListener(
        "touchend",
        (e) => {
          const touchEndY = e.changedTouches[0].clientY;
          const deltaY = touchStartY - touchEndY;

          if (Math.abs(deltaY) > 50) {
            const direction = deltaY > 0 ? 1 : -1;
            const currentSection = document
              .elementFromPoint(window.innerWidth / 2, window.innerHeight / 2)
              .closest("section");

            if (currentSection) {
              const target =
                direction > 0
                  ? currentSection.nextElementSibling
                  : currentSection.previousElementSibling;

              target?.scrollIntoView({
                behavior: "smooth",
                block: "start",
              });
            }
          }
        },
        { passive: true }
      );
    </script>
  </body>
</html>
